All Questions
3 questions
1vote
5answers
2kviews
How to avoid object cast after passing a parameter?
I have a problem with implementing generic user interface interaction. I have different classes that contain data each for particular interface element. So every UserInterfaceElementComponent has ...
3votes
11answers
2kviews
OO Software Architecture - base class that everything inherits from. Bad/good idea?
I am reviewing a proposed OO software architecture that looks like this: Base Foo Something Bar SomethingElse Where Base is a static class. My immediate thought was that every object in any class ...
39votes
11answers
15kviews
Are abstract classes / methods obsolete?
I used to create a lot of abstract classes / methods. Then I started using interfaces. Now I am not sure if interfaces aren't making abstract classes obsolete. You need a fully abstract class? ...